#ifndef DATA_TYPE_H
#define DATA_TYPE_H
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <unistd.h>
#include <cjson/cJSON.h>
#include <pthread.h>
#define INFO_LEN 40




typedef char update_info_t[INFO_LEN];


typedef struct
{
    char *ipaddr;
    char *username;
    char *password;
} MeshCfg;
extern MeshCfg meshCfg;

#endif //DATA_TYPE_H
